﻿create proc thuan_qtdanhmucnhomchuongtrinhxoa
@ID int
as
if not exists(select * from DanhMuc_NhomChuongTrinh Where NhomCT=@ID)
begin
select ErrCode=0
end
else
begin
delete from DanhMuc_NhomChuongTrinh WHere NhomCT=@ID
select ErrCode=1
end
